<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Clique Projection: RDCliquer.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Clique Projection
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">RDCliquer.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="RDCliquer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef RDCLIQUER_H_</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define RDCLIQUER_H_</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Cliquer_8h.html">Cliquer.h</a>&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Doll_8h.html">Doll.h</a>&gt;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="Grafo_8h.html">Grafo.h</a>&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="VertexSet_8h.html">VertexSet.h</a>&gt;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="code" href="classRDCliquer.html">   22</a></span>&#160;<span class="keyword">class </span><a class="code" href="classRDCliquer.html">RDCliquer</a> : <span class="keyword">public</span> <a class="code" href="classCliquer.html">Cliquer</a></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a4baae136d779d2e44c2653d4df066020">   24</a></span>&#160;        <span class="keyword">const</span> <span class="keywordtype">int</span>               <a class="code" href="classRDCliquer.html#a4baae136d779d2e44c2653d4df066020">_n</a>;</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a15a6d80f73532b82cde2229fa3740b07">   25</a></span>&#160;        <span class="keyword">const</span> <a class="code" href="classGrafo.html">Grafo</a>&amp;    <a class="code" href="classRDCliquer.html#a15a6d80f73532b82cde2229fa3740b07">_grafo</a>;</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="code" href="classRDCliquer.html#aa53fff020f13b4d8280169a52f6348a9">   26</a></span>&#160;        <a class="code" href="classVertexSet.html">VertexSet</a>&amp;              <a class="code" href="classRDCliquer.html#aa53fff020f13b4d8280169a52f6348a9">_RR</a>;</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a6e6859159d2bb376f6b5dd281c086102">   27</a></span>&#160;        <a class="code" href="classVertexSet.html">VertexSet</a>&amp;              <a class="code" href="classRDCliquer.html#a6e6859159d2bb376f6b5dd281c086102">_WW</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a52d78c9e127b56a0c910f4c1a5d7c3b2">   28</a></span>&#160;        <a class="code" href="classSingleNodeSet.html">SingleNodeSet</a>   <a class="code" href="classRDCliquer.html#a52d78c9e127b56a0c910f4c1a5d7c3b2">_nodeRR</a>;</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a566002ef69f9d7ff43986798558c0b7c">   29</a></span>&#160;        <a class="code" href="classSingleNodeSet.html">SingleNodeSet</a>   <a class="code" href="classRDCliquer.html#a566002ef69f9d7ff43986798558c0b7c">_nodeR</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="code" href="classRDCliquer.html#aee2177df5d8768973f01bb8720501705">   30</a></span>&#160;        <a class="code" href="classSingleNodeSet.html">SingleNodeSet</a>   <a class="code" href="classRDCliquer.html#aee2177df5d8768973f01bb8720501705">_nodeW</a>;</div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="classRDCliquer.html#a6e3c36e091495eb1641a71f485940c53">   31</a></span>&#160;        <a class="code" href="classDoll.html">Doll</a> **                 <a class="code" href="classRDCliquer.html#a6e3c36e091495eb1641a71f485940c53">_stack</a>;</div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="classRDCliquer.html#ab68ac2b1ef63bb5cb309b33069e3bc32">   32</a></span>&#160;        <span class="keywordtype">double</span> *                <a class="code" href="classRDCliquer.html#ab68ac2b1ef63bb5cb309b33069e3bc32">_C</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <span class="keywordtype">int</span> greedyColoring(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <a class="code" href="classVertexSet.html">VertexSet</a>&amp; W, <span class="keywordtype">int</span> lim);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        <span class="keywordtype">int</span> greedyColoring(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R);</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <span class="keywordtype">void</span> maxStab(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <a class="code" href="classVertexSet.html">VertexSet</a>&amp; W, <span class="keywordtype">int</span> u);</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="keywordtype">int</span> maxClique(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="keywordtype">int</span> expClique(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <span class="keywordtype">int</span> * C, <span class="keywordtype">int</span> topC);</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;        <span class="keywordtype">int</span> greedyColoring(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <span class="keyword">const</span> <a class="code" href="classIntValueArray.html">IntValueArray</a>&amp; pesos);</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordtype">int</span> expClique(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <span class="keywordtype">int</span> * C, <span class="keywordtype">int</span> * topC, <span class="keyword">const</span> <a class="code" href="classIntValueArray.html">IntValueArray</a>&amp; pesos);</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        <span class="keywordtype">double</span> greedyColoring(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <span class="keyword">const</span> <a class="code" href="classDoubleValueArray.html">DoubleValueArray</a>&amp; pesos);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;        <span class="keywordtype">double</span> expClique(<a class="code" href="classVertexSet.html">VertexSet</a>&amp; R, <span class="keywordtype">int</span> * C, <span class="keywordtype">int</span> * topC, <span class="keyword">const</span> <a class="code" href="classDoubleValueArray.html">DoubleValueArray</a>&amp; pesos);</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;        <a class="code" href="classRDCliquer.html">RDCliquer</a>(<span class="keyword">const</span> <a class="code" href="classGrafo.html">Grafo</a> &amp;g, <span class="keywordtype">bool</span> clqOrStab);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;        ~<a class="code" href="classRDCliquer.html">RDCliquer</a>();</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keywordtype">int</span> optimize(<span class="keyword">const</span> <a class="code" href="classVertexSet.html">VertexSet</a> &amp;subgrafo, <a class="code" href="classVertexSet.html">VertexSet</a> &amp;clique, <span class="keywordtype">int</span> cotaInferior=0,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;                        <span class="keywordtype">int</span> cotaSuperior=INT_MAX, <span class="keywordtype">int</span> tolerancia=0);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordtype">int</span> optimize(<span class="keyword">const</span> <a class="code" href="classIntValueArray.html">IntValueArray</a>&amp; pesos, <span class="keyword">const</span> <a class="code" href="classVertexSet.html">VertexSet</a> &amp;subgrafo,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;                        <a class="code" href="classVertexSet.html">VertexSet</a> &amp;clique,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;                        <span class="keywordtype">int</span> cotaInferior=0, <span class="keywordtype">int</span> cotaSuperior=INT_MAX, <span class="keywordtype">int</span> tolerancia=0);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="keywordtype">double</span> optimize(<span class="keyword">const</span> <a class="code" href="classDoubleValueArray.html">DoubleValueArray</a>&amp; pesos, <span class="keyword">const</span> <a class="code" href="classVertexSet.html">VertexSet</a> &amp;subgrafo,</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                        <a class="code" href="classVertexSet.html">VertexSet</a> &amp;clique, <span class="keywordtype">double</span> cotaInferior=0.0, <span class="keywordtype">double</span> cotaSuperior=DBL_MAX, <span class="keywordtype">double</span> tolerancia=0.0);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;};</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* RDCLIQUER_H_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Apr 12 2014 10:53:26 for Clique Projection by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>
